﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MoneyProtocol.dto
{
    [Serializable]
    public class InOutInfoDTO
    {
        /// <summary>
        /// 收支记录的ID
        /// </summary>
        public int id;          
        /// <summary>
        /// 该记录时间
        /// </summary>
        public string date;     
        /// <summary>
        /// 金额
        /// </summary>
        public float price;     
        /// <summary>
        /// 类型，买入或者卖出
        /// </summary>
        public int type;        
        /// <summary>
        /// 类型的具体信息
        /// </summary>
        public string typeinfo;    
        /// <summary>
        /// 备注
        /// </summary>
        public string remark;   

        public InOutInfoDTO() { }

        public InOutInfoDTO(int id, string date, float price, int type, string typeinfo, string remark)
        {
            this.id = id;
            this.date = date;
            this.price = price;
            this.type = type;
            this.typeinfo = typeinfo;
            this.remark = remark;
        }
    }
}
